rectangular_window Derived Type

type, public, extends(window) :: rectangular_window

@brief Defines a rectangular window. Defines a rectangular window.


Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: size = 0

The window size.


Type-Bound Procedures

procedure, public :: evaluate => rw_eval

  • private pure function rw_eval(this, bin) result(rst)

    Evaluates the window function.

    Arguments

    Type IntentOptional Attributes Name
    class(rectangular_window), intent(in) :: this

    The rectangular_window object.

    integer(kind=int32), intent(in) :: bin

    The index or bin number [0, n], where n is the window size.

    Return Value real(kind=real64)

    The function value.